package cn.yht.wang.bean;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
@ApiModel(description = "订单Model")
public class Order {
    public  Long id;
    private Long orderNo;
    private Long userId;
    private Integer province;
    private Integer city;
    private Integer district;
    private String address;
    private Integer paymentMethod;
    private BigDecimal orderMoney;
    private BigDecimal shippingMoney;//运费金额
    private BigDecimal paymentMoney;
    private Date createTime;
    private  Date shippingTime; //下单时间
    private Date paymentTime;
    private Integer orderStatus;
    private Integer orderPoint;
    private Date modifyTime;
    private String invoiceTitle;
}
